package com.qianyu.core.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qianyu.core.entity.bean.OrderPay;
import com.qianyu.core.entity.dto.OrderPayDto;

import javax.servlet.http.HttpServletRequest;

public interface OrderPayService extends IService<OrderPay> {

    /**
     * 充值中心
     */
    Boolean saveOrder(OrderPayDto.OrderPaySaveDto dto, HttpServletRequest request);

    /**
     * 订单查询
     */
    Page<OrderPay> pageOrderPay(OrderPayDto.OrderPayPageDto dto,Long userId);

    /**
     * 后台审核充值订单
     */
    Boolean checkPayOrder(OrderPayDto.OrderPayAuditDto dto);

}
